<?php

namespace app\api\validate;

use think\Validate;

class VillageTransfer extends Validate
{
    protected $rule = [
        "account" => "require",
        "take_code" => "require",
        "amount" => "require|gt:0",
        "pay_password" => "require",
    ];

    protected $message = [
        'account.require' => '请选择转账账户',
        'take_code.require' => '请填写收账会员手机号',
        'amount.require' => '请填写转账金额',
        'amount.gt' => '转账金额有误',
        'pay_password.require' => '请填写支付密码',
    ];

}